package com.ldcc.report_system;


/**
 * @author wwj[yeshengkele@outlook.com]
 * @description 全局静态变量
 */
public class ApplicationConfig {
    // 日报界面
    public static final int SHOW_REPORT_FRAGMENT = 0;
    // 日报界面
    public static final int ADD_REPORT_FRAGMENT = 1;
    // 个人中心
    public static final int USER_INFO_FRAGMENT = 2;

    // 日报列表下标
    public static final int DAY_LIST_FRAGMENT = 0;
    // 周报列表下标
    public static final int WEEK_LIST_FRAGMENT = 1;

    // 是否第一次使用
    public static final String IS_FIRST_USE = "isFirstUse";

    // token标识
    public static final String USER_TOKEN_KEY = "userTokenKey";
    public static final String SERVER_TOKEN_HEADER = "Authorization";
    public static final int SERVER_CONNECT_TIMEOUT = 20;
    // 用户信息标识
    public static final String USER_ID_KEY = "userId";
    // 服务器URL
    public static final String SERVER_URL = "http://47.108.48.220:2222";
    //保存在手机里面的文件名
    public static final String SHARED_PREFERENCES_FILE_NAME = "report_date";

    // 服务器地址key
    public static final String SERVER_ADDRESS_KEY = "server_address";
    // 服务器端口
    public static final String SERVER_PORT_KEY = "server_port";
    // http协议
    public static final String HTTP_KEY = "http://";

}
